package com.improve.frame.db.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;
import java.util.Map;

/**
 * @Description
 *      Mapper通用继承
 * @Author wzxing918
 * @Date 2021-03-31
 * @Version 1.0.0
 **/
public interface BaseMapper<T> extends com.baomidou.mybatisplus.core.mapper.BaseMapper<T> {
    /**
     * 多表复杂查询
     * @param page      分页对象
     * @param map       查询条件
     * @return
     */
    List<T> selectComplex(IPage<T> page, Map<String, Object> map);
}